package com.zkw.demo.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Administrator on 2016/4/15.
 */
//描述切面类
@Aspect
@Configuration
public class TestAop {
    @Before("within(com.zkw.demo.service.impl.Service1Impl)")
    public void excudeService(JoinPoint joinPoint){
        System.out.println("execute aop before... ..."+joinPoint);
    }
}
